package com.jixiang.tracedata.model.flight;

import com.jixiang.tracedata.model.common.Hdr;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

import java.io.Serializable;
import java.util.List;

/**
 * @author quanbiao
 * @date 2018-08-30
 * 本站出发的航段
 */
@XStreamAlias("Segment")
public class Segment implements Serializable {

    private static final long serialVersionUID = 4787056445985577373L;

    @XStreamAsAttribute()
    private String OriginAirport;

    @XStreamAsAttribute()
    private String DestinationAirport;

    @XStreamAsAttribute()
    private String SegmentClassInfo;

    @XStreamAlias("CodeSharing")
    private CodeSharing CodeSharing;

    @XStreamAlias("Departure")
    private Departure Departure;

    @XStreamAlias("Arrival")
    private Arrival Arrival;

    @XStreamAlias("Statistics")
    private Statistics Statistics;

    @XStreamImplicit(itemFieldName="CodeShare")
    private List<CodeShare> CodeShareList;

    /**
     * 公共的xml头部信息
     */
    private Hdr Hdr;

    private String DB_CodeShare;

    private String DB_Segment_BookNum;
    private String DB_Segment_CkiNum;
    private String DB_Segment_StandbyNum;

    public String getDB_Segment_BookNum() {
        return DB_Segment_BookNum;
    }

    public void setDB_Segment_BookNum(String DB_Segment_BookNum) {
        this.DB_Segment_BookNum = DB_Segment_BookNum;
    }

    public String getDB_Segment_CkiNum() {
        return DB_Segment_CkiNum;
    }

    public void setDB_Segment_CkiNum(String DB_Segment_CkiNum) {
        this.DB_Segment_CkiNum = DB_Segment_CkiNum;
    }

    public String getDB_Segment_StandbyNum() {
        return DB_Segment_StandbyNum;
    }

    public void setDB_Segment_StandbyNum(String DB_Segment_StandbyNum) {
        this.DB_Segment_StandbyNum = DB_Segment_StandbyNum;
    }

    public String getDB_CodeShare() {
        return DB_CodeShare;
    }

    public void setDB_CodeShare(String DB_CodeShare) {
        this.DB_CodeShare = DB_CodeShare;
    }

    public com.jixiang.tracedata.model.common.Hdr getHdr() {
        return Hdr;
    }

    public void setHdr(com.jixiang.tracedata.model.common.Hdr hdr) {
        Hdr = hdr;
    }

    public com.jixiang.tracedata.model.flight.Departure getDeparture() {
        return Departure;
    }

    public void setDeparture(com.jixiang.tracedata.model.flight.Departure departure) {
        Departure = departure;
    }

    public com.jixiang.tracedata.model.flight.Arrival getArrival() {
        return Arrival;
    }

    public void setArrival(com.jixiang.tracedata.model.flight.Arrival arrival) {
        Arrival = arrival;
    }

    public com.jixiang.tracedata.model.flight.Statistics getStatistics() {
        return Statistics;
    }

    public void setStatistics(com.jixiang.tracedata.model.flight.Statistics statistics) {
        Statistics = statistics;
    }


    public String getSegmentClassInfo() {
        return SegmentClassInfo;
    }

    public void setSegmentClassInfo(String segmentClassInfo) {
        SegmentClassInfo = segmentClassInfo;
    }

    public com.jixiang.tracedata.model.flight.CodeSharing getCodeSharing() {
        return CodeSharing;
    }

    public void setCodeSharing(com.jixiang.tracedata.model.flight.CodeSharing codeSharing) {
        CodeSharing = codeSharing;
    }

    public List<CodeShare> getCodeShareList() {
        return CodeShareList;
    }

    public void setCodeShareList(List<CodeShare> codeShareList) {
        CodeShareList = codeShareList;
    }

    public String getOriginAirport() {
        return OriginAirport;
    }

    public void setOriginAirport(String originAirport) {
        OriginAirport = originAirport;
    }

    public String getDestinationAirport() {
        return DestinationAirport;
    }

    public void setDestinationAirport(String destinationAirport) {
        DestinationAirport = destinationAirport;
    }
}
